<layout name="layout" />

<section class="wrapper marc food_list">
    <section class="left l">
        <figcaption>新闻列表</figcaption>
        <div class="food_list">
            <ul class="article_list">
                <volist name="list" id="list_value">
                    <li><span>{$list_value.add_time|date="Y-m-d",###}</span><a href="{:U('Article/view/?id='.$list_value['id'])}">{$list_value.title}</a></li>
                </volist>
            </ul>
            <div class="clear"></div>   
            <div class="paginationa">
                {$page}
            </div> 
        </div>
    </section>
    <section class="right r">
        <figcaption>今日推荐</figcaption>
        <getData model="Cai" field="*" name="art" id="row" limit="4" where=" 1 = 1" order="cai_id DESC">
            <dl class="list">
                <dt>
                <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">
                    <img src="{$row.cai_thumb}" width="171" height="111" alt="{$row.cai_name}" />
                </a>
                </dt>
                <dd>
                    <p class="tit">
                        <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">{$row.cai_name}</a>
                    </p>
                    <p class="price">
                        <span>{$row.cai_price|format_price}</span>
                        元
                    </p>
                    <span class="star star_5"></span>
                    <p class="remark">
                        <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">
                            <span>{$row.cai_reply_num}</span>
                            点评
                        </a>
                    </p>
                    <a class="order" href="{:U('Cai/'.$row['cai_id'])}" target="_blank">我要订购</a>
                </dd>
            </dl>
        </getData>
    </section>
</section>
<div class="clear"></div>
